import 'package:distribution_mall_flutter/pages/my/widgets/my_content.dart';
import 'package:distribution_mall_flutter/pages/my/widgets/my_header.dart';
import 'package:flutter/material.dart';

class MyPage extends StatefulWidget {
  const MyPage({super.key});

  @override
  State<MyPage> createState() {
    return MyPageState();
  }
}

class MyPageState extends State<MyPage> with AutomaticKeepAliveClientMixin {
  @override
  Widget build(BuildContext context) {
    super.build(context);
    return const Scaffold(
        body: Column(
      children: [
        Expanded(child: Stack(children: [MyHader(), MyContent()]))
      ],
    ));
  }

  @override
  bool get wantKeepAlive => true;
}
